define(["router"],function(router){
	var registerCtrl = ["$scope",function($scope){
		$scope.userData = {};
		$scope.submitFunc = function(){
			console.log($scope.userData);
			console.log(signupForm)
			console.log($scope.signupForm)
			console.log($scope.signupForm.$invalid)
			

			if ($scope.signupForm.$invalid) {
				console.log("suc")
			}else{
				console.log("err ")
			};
		}















	}]
	return registerCtrl;
});